package com.shell.guard.exception;

public class ErrorCodes
{
  public static final String CLIENT_ID_IS_NULL_STR = "CLIENT_ID_IS_NULL";
  public static final String CLIENT_SECRET_IS_NULL_STR = "CLIENT_SECRET_IS_NULL";
  public static final String ORGANIZAITON_ID_IS_NULL_STR = "ORGANIZAITON_ID_IS_NULL";
  public static final ErrorCode DEVICE_ID_IS_NULL_STR = new ErrorCode("DEVICE_ID_IS_NULL_STR", "设备ID非法");
  public static final ErrorCode NOT_LOGIN_YET = new ErrorCode("NOT_LOGIN_YET", "没有用户已登录当前设备");
  public static final ErrorCode USER_SERVICE_CALL_FAILURE = new ErrorCode("USER_SERVICE_CALL_FAILURE", "无法调用远程用户系统或调用失败");
  public static final ErrorCode ID_SERVICE_CALL_FAILURE = new ErrorCode("ID_SERVICE_CALL_FAILURE", "无法调用远程ID_SERVICE或调用失败");
  public static final ErrorCode INVALID_AUTHENTICATION_ERROR = new ErrorCode("INVALID_AUTHENTICATION", "用户证书校验失败");
  public static final ErrorCode INVALID_USERNAME_OR_PASSWORD = new ErrorCode("INVALID_USERNAME_OR_PASSWORD", "用户名或密码错误");
  public static final ErrorCode USER_FROZEN = new ErrorCode("USER_FROZEN", "您的企业已被冻结，咨询平台客服");
  public static final ErrorCode INVALID_MSG_VERIFY_CODE = new ErrorCode("INVALID_MSG_VERIFY_CODE", "短信验证有误");
  public static final ErrorCode INVALID_PHONE_NO = new ErrorCode("INVALID_PHONE_NO", "手机号未注册");
}